package com.example.hellospringboot.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "randomnum")
@PropertySource(encoding = "UTF-8",value ="classpath:random.properties" )
public class RandomNum {
    private String str;
    private Integer num;
    private String uuid;
    private Long bignum;
    private String name;
}
